<template>
  <div class="title">
    <img :src="conf.src" :style="{ width: imgWidth + 'px', height: imgHieght + 'px' }" alt="" />
    <h4 :style="{ fontSize: fontSize + 'px' }">{{ conf.title }}</h4>
  </div>
</template>

<script>
export default {
  name: 'Title',

  props: {
    conf: Object,
    imgWidth: {
      type: Number,
      default: 60
    },
    imgHieght: {
      type: Number,
      default: 60
    },
    fontSize: {
      type: Number,
      default: 20
    }
  }
}
</script>

<style lang="less" scoped>
.title {
  h4 {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    font-size: 20px;
    font-weight: 500;
  }
}
</style>
